package cn.south.campus.business.model.entity;

import cn.south.campus.common.model.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 二手商品分类表
 * </p>
 *
 * @author chow
 * @since 2024-11-13
 */
@EqualsAndHashCode(callSuper = true)
@TableName("campus_goods_category")
@Data
public class GoodsCategory extends BaseEntity {

    /**
     * 分类名称
     */
    private String name;

    /**
     * 父级id
     */
    private Long parentId;

    /**
     * 分类层级
     */
    private Integer level;

    /**
     * 排序
     */
    private Integer sort;
}
